#!/bin/bash

emissor=$1
receptor=$2
hops=$3

echo "Running ScriptGerador para QSR... "

echo "Running Simulation for $hops hops"
echo "Waf running with client =" $emissor " server = "$receptor
bash ScriptQSR.sh $emissor $receptor $hops 12345
receptor=$(expr $receptor + 4)
hops=$(expr $hops + 2)

echo "Running Simulation for $hops hops"
echo "Waf running with client =" $emissor " server = "$receptor
bash ScriptQSR.sh $emissor $receptor $hops 12345
receptor=$(expr $receptor + 4)
hops=$(expr $hops + 2)

echo "Running Simulation for $hops hops"
echo "Waf running with client =" $emissor " server = "$receptor
bash ScriptQSR.sh $emissor $receptor $hops 12345
receptor=$(expr $receptor + 4)
hops=$(expr $hops + 2)

echo "Running Simulation for $hops hops"
echo "Waf running with client =" $emissor " server = "$receptor
bash ScriptQSR.sh $emissor $receptor $hops 12345
receptor=$(expr $receptor + 4)
hops=$(expr $hops + 2)

echo "Running Simulation for $hops hops"
echo "Waf running with client =" $emissor " server = "$receptor
bash ScriptQSR.sh $emissor $receptor $hops 12345
receptor=$(expr $receptor + 4)
hops=$(expr $hops + 2)

echo "Running Simulation for $hops hops"
echo "Waf running with client =" $emissor " server = "$receptor
bash ScriptQSR.sh $emissor $receptor $hops 12345


